This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Subject: OutOfMemoryError: Notes-JavaAgent running on domino server
Feedback Type: Problem
Product Area: Domino Server
Technical Area: Crash
Platform: Windows 2003 server
Release: 8.0
Reproducible: -Reproducibility-
Hi,
I'm starting an java-agent in notes. This agent searches in the content manager for archived emails.
After 5 searches I get the following error:
12/08/2009 11:21:51 AM Agent error: java.lang.OutOfMemoryError
12/08/2009 11:21:51 AM Agent error: at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:116)
12/08/2009 11:21:51 AM Agent error: at lotus.domino.ClassHashtable.explodeArchive(Unknown Source)
12/08/2009 11:21:51 AM Agent error: at lotus.domino.ClassHashtable.addAttachment(Unknown Source)
12/08/2009 11:21:51 AM Agent error: at lotus.domino.AgentLoader.addAttachment(Unknown Source)
12/08/2009 11:21:51 AM JVM: The addAttachment (Ljava/lang/String;[B)V() method failed.
I don't know what the problem is.
I start my agent within an notesagent like this:
Dim searchAgent As NotesAgent
Set searchAgent = db.GetAgent("(SearchAgent)")
Dim status As Integer
status = searchAgent.RunOnServer(profileDoc.NoteID)